package OOP.Homeworks.Homework03;

public class Professor extends Teacher {
    public Professor(String name, int age, String post, double salary , double Grade) {
        super(name,age,post,salary,Grade);
    }


    @Override
    public void introduce() {
        System.out.println("Professor\t\t\t\t\t\tName: " + getName() + ", Age: " + getAge() + ", Post: " + getPost() + ", Salary: " + getGrade()*getSalary());
    }
}
